#include<stdio.h>
int maximum(int x[],int xsize){
	int i,max = x[0];
	for(i=0;i<xsize;i++)
	  if (max<x[i])
		max = x[i];
	return max; 
}
int* sort(int x[],int xsize) {
	int i,j;
	for(i=0;i<xsize;i++)
	  x[i] += 1;
	return x;
}	
int main(void){
	int x[] = {7,6,7,89,5,67,88,99},i;
	int*p = sort(x,8);
	for(i=0;i<8;i++)
	  printf("%d,",*(x+i));
	  printf("%d,",*(p+i));
	  printf("%d,",p[i]);
	  printf("%d,",x[i]);
	return 0;
}

